define(function(require,exports,module){
	var aw = require("ajaxwrapper");
	
	module.exports = {
		save: function(cParams,sCb,eCb){
			aw.saveOrUpdate("api/roomtype/save",cParams,sCb,eCb);
		},
		del: function(pk,sCb,eCb){
			aw.del("api/roomtype/"+pk+"/delete",sCb,eCb);
		},
		search: function(cParams,sCb,eCb){
			aw.ajax({
				url: "api/roomtype/search",
				data: cParams,
				success: sCb
			});
		}
	};
});